<html>
<head>
    <!--不需要装饰加上这句-->
    <meta name="decorator" content="/decorators/blank"/>
</head>
<body>
<div class="modal fade" id="exampleModal" aria-labelledby="exampleModalLabel"
     data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog" style="width: 60%" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="exampleModalLabel">创建部门</h4>
            </div>
            <!-- BEGIN FORM-->
            <form action="" class="form-horizontal" id="createForm">
                <input type="hidden" name="orgId"/>
                <div class="modal-body">
                    <div class="form-body">
                        <div class="col-md-8">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h4 class="panel-title">机构列表</h4>
                                </div>
                                <table id="organizationTree"></table>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h4 class="panel-title">创建部门</h4>
                                </div>
                            </div>
                            <div class="form-group form-md-line-input">
                                <label class="col-md-3 control-label">所属机构：
                                    <span class="text"></span>
                                </label>
                                <div class="col-md-9">
                                    <p class="form-control-static" id="orgName"></p>
                                    <div class="form-control-focus"></div>
                                    <span class="help-block"></span>
                                </div>
                            </div>

                            <div class="form-group form-md-line-input">
                                <label class="col-md-3 control-label">名称：
                                    <span class="required text-danger">*</span>
                                </label>
                                <div class="col-md-9">
                                    <input type="text" class="form-control" placeholder="" name="deptName">
                                    <div class="form-control-focus"></div>
                                    <span class="help-block"></span>
                                </div>
                            </div>
                            <div class="form-group form-md-line-input">
                                <label class="col-md-3 control-label">描述：
                                    <span class="required"></span>
                                </label>
                                <div class="col-md-9">
                                    <input type="text" class="form-control" placeholder="" name="remark" id="remark">
                                    <div class="form-control-focus"></div>
                                    <span class="help-block"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="submit" class="btn btn-primary">提交</button>
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>